package weblab.tutor;

import phonegap.ex.R;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebChromeClient;
import android.webkit.WebView;

public class UserMainScreen extends Activity{
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        WebView wv = (WebView) findViewById(R.id.webView);
		wv.getSettings().setJavaScriptEnabled(true);
		wv.setWebChromeClient(new WebChromeClient());


		wv.loadUrl("file:///android_asset/www/main_screen.html");
        wv.addJavascriptInterface(new WebUserInterface(this), "Android");
        
	}
}
